package com.bkgy.controller.repTechFit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bkgy.controller.repTechFit.entity.RepTechFit;
import com.bkgy.controller.technology.entity.dto.TechFailBarRes;
import com.bkgy.sys.common.entity.ResultData;

import java.util.Date;
import java.util.List;

public interface IRepTechFitService extends IService<RepTechFit> {
    /**
     * 构建一天的酸轧合格卷数
     */
    ResultData<String> buildSucRateJob(Date d1);

    /**
     * 查询本月各班组统计数据
     */
    List<RepTechFit> selectCrewThisMonth(String startDate, String endDate);

    /**
     * 查询本月指标统计数据
     */
    RepTechFit selectThisMonth(String startDate, String endDate);

    ResultData<TechFailBarRes> techFailBar(String startDate, String endDate);

    ResultData techSucRate(String startDate, String endDate);

    ResultData techFailLine(String dateType);
}
